using Verse;
using Verse.AI;

namespace RimWorld;

public class ThinkNode_ConditionalBodySize : ThinkNode_Conditional
{
	public float min;

	public float max = 99999f;

	protected override bool Satisfied(Pawn pawn)
	{
		float bodySize = pawn.BodySize;
		if (bodySize >= min)
		{
			return bodySize <= max;
		}
		return false;
	}
}
